package com.cy.server.pojo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * @peoject: yeb
 * @description: 消息类
 * @author: LiShaoZhuo
 * @create: 2021-05-10 15:59
 **/
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
public class ChatMsg {

    private String from;
    private String to;
    //消息内容
    private String content;
    private LocalDateTime date;
    //昵称
    private String fromNickName;
}
